package com.p2p.front.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.p2p.front.dal.dao.TenderDao;
import com.p2p.front.service.InvestInfoService;

@Service("investInfoService")
public class InvestInfoServiceImpl implements InvestInfoService {

	@Resource
	private TenderDao tenderDao;
	
	
	@Override
	public int getAllNum(String userId){
		return tenderDao.getAllNum(userId);
	}
}
